import Vue from 'vue'
import './plugins/axios'
import App from './App.vue'
import router from './router'
import store from './store'

import Vant from "vant";     // 全局引入vant
import "vant/lib/index.css"; // 全局引入vant.css
Vue.use(Vant);               // 将vant作为插件插入vue

Vue.config.productionTip = false

new Vue({
  router,
  store,
  beforeCreate() {
    console.log('this这是',this)
    Vue.prototype.$bus = this //安装全局事件总线
  },
  render: h => h(App)
}).$mount('#app')

